package com.hei.dao;

import com.hei.pojo.Bkind;
import com.hei.pojo.BkindExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface BkindMapper {
    long countByExample(BkindExample example);

    int deleteByExample(BkindExample example);

    int deleteByPrimaryKey(String id);

    int insert(Bkind record);

    int insertSelective(Bkind record);

    List<Bkind> selectByExample(BkindExample example);

    Bkind selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") Bkind record, @Param("example") BkindExample example);

    int updateByExample(@Param("record") Bkind record, @Param("example") BkindExample example);

    int updateByPrimaryKeySelective(Bkind record);

    int updateByPrimaryKey(Bkind record);

    List<Bkind> selectAllKind(Map<String,Object> map);

    List<Bkind> queryAllKind(Map<String,Object> map);

    List<Bkind> queryUsedKind();

    String selectFirstId();

}